package 接口;

public class TestError5 {
    public static void main(String[] args) {
        Movable5 m = new Bird5();
        ((Flyable5) m).fly();
        Flyable5 f1 = new Bird5();
        Flyable5 f2 = new Plane5();
        ((Movable5) f1).move();
        ((Movable5) f2).move();
    }
}